package com.zhentao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhentao.model.dto.system.SysRoleDto;
import com.zhentao.model.entity.system.SysRole;

import java.util.List;

public interface SysRoleMapper extends BaseMapper<SysRole> {
    public abstract List<SysRole> findByPage(SysRoleDto sysRoleDto);

    void updateRoleById(SysRole sysRole);

    void deleteRoleById(Long roleId);


    List<SysRole> findAllRoles();

}